/* 
    Document   : top
    Created on : Mar 25, 2013, 9:45:06 AM
    Author     : DinhNP
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

/* Reset settings */
* {
    padding: 0;
    margin: 0;
}

/********** TOP ************/
#top {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#top_content {
    margin: auto;
    width: 980px;
    height: 100%;
    padding: 0px 5px 5px 5px;
    overflow: hidden;
}

/****** HEADER: LOGO AND USER SECTION *****/
#header {
    position: relative;
    width: 100%;
    height: 320px;
    box-shadow: 0 0 5px black;
}

#banner {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

/******* UNDER HEADER: MAIN MENU AND SEARCH FORM ****/
#under_header {
    position: relative;
    margin-top: -40px;
    width: 100%;
    height: 40px;
    background: #2d2d2d;
    background: rgba(45, 45, 45, 0.5);
    box-shadow: 0px 0px 5px black;
}

/********** MAIN MENU ************/
.main_nav {
    position: relative;
    float: left;
    height: 100%;
    overflow: hidden;
}
.main_nav ul{
    list-style: none;
    float: left;
    height: 100%;
    overflow: hidden;

}

.main_nav ul li {
    float: left;
    height: 30px;
    display: block;
    padding: 10px 20px 0px 20px;
}

.main_nav ul li:hover {
    background-color: #ff2299;
}
.main_nav ul li a {
    text-decoration: none;
    display: block;
    font-family: Helvetica, Arial, sans-serif;
    color: white;
    font-size: 14px;
    font-weight: 400;
}
.main_nav ul li:hover a{
    color: white;
}

/* Button Home */
.li_Home {
    padding: 0px !important;
    height: 30px;
}

.btnHome {
    padding-top: 0px !important;
    margin: 0;
    background-image: url(img/btnHome.png);
    background-color: #ff2299;
}

/*Search form*/
#search_bar {
    position: absolute;
    width: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
}
.search {
    position: relative;
    width: 980px;
    margin: 0 auto;
}
#user_section{
    position: relative;
    float: right;
    display: inline-block;
    height: 30px;
    width: 500px;
    padding: 5px 5px 0 0;
}
#loginUsername{
    position: relative;
    width: 150px;
    display: none;
    float: right;
}

#user_section img{
    position: relative;
    float: right;
    display: none;
    cursor: pointer;
}

/*register button*/
.rg_button{
    position: relative;
    float: right;
    background: #f5567e;
    width: 90px;
    height: 30px;
    color: white;
    border: none;
    font-size: 15px;
    font-family: Tahoma,Arial,Helvetica,sans-serif;
    cursor: pointer;
}

.rg_button:hover{
    background: #00a0e0;
}

/*Login button*/
.lg_button {
    position: relative;
    float: right;
    background-color: #6f6f6f;
    width: 90px;
    height: 30px;
    color: white;
    border: none;
    font-size: 15px;
    font-family: Tahoma,Arial,Helvetica,sans-serif;
    cursor: pointer;
}

.lg_button:hover{
    background: #00a0e0;
}

#_fmSearch {
    position: relative;
    float: left;
    width: 395px;
    margin: 5px 0 5px 0;
}
.txtSearch {
    width: 365px;
    height: 30px;
    float: right;
    padding: 0 10px 0 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    border:none;
    -webkit-appearance: none;
    font-size: 15px;
    border-bottom: 2.5px solid #ff2299 !important;
}

.btnSearch {
    float: left;
    width: 30px;
    height: 30px;
    overflow: hidden;
}

/***** HIDDEN LOGIN FORM *****/
#form_background{
    left:0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    position: fixed;
    overflow: hidden;
    display: none;
}
.float_form{
    position:fixed;
    left: 50%;
    top: 50%;
    margin-left: -180px;
    margin-top: -180px;
    width: 350px;
    height: 350px;
    background: transparent;
    box-shadow: 0 0 20px black;
    overflow: hidden;
}

/* Form header*/
.float_form_header {
    position: relative;
    background-color: #efefef;
    width: 100%;
    height: 85px;
    z-index: 100;
    padding-top: -50px;
    border-top: 15px #f30643 outset;
}

/*Form title*/
.float_form_header span {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: Geneva,Arial,Helvetica,sans-serif;
    font-size: 20pt;
    font-weight: 500;
    color: #6f6f6f;
}

/*** close button ***/
.float_form img{
    position: relative;
    float: right;
    right: 8px;
    top: 8px;
    cursor: pointer;
}

.float_form img:hover{
    background: #00a0e0;
}


/* Form container*/
.float_form_main {
    position: relative;
    background-color: white;
    width: 100%;
    height: 175px;
    box-shadow: 0 2px 8px black;
    border-top: 3px #f2f2f2 ridge;
    z-index: 99;
}

.lg_form_textbox{
    position: relative;
    width: 100%;
    height: 50%;
    padding-left: 7px;
}

.lg_input {
    position: relative;
    border: none;
    width: 195px;
    height: 40px;
    left: 10%;
    top: 26%;
    font-size: 18px;
    padding: 0px 10px 0px 45px;
    border-bottom: 2px solid #f30643 !important;
}

/* Form footer*/
.float_form_footer {
    position: relative;
    background-color: #c4c4c4;
    width: 100%;
    height: 70px;
    border-top: 2px ridge #aeaeae;
}

.login_button {
    position: absolute;
    right: 15px;
    bottom: 12px;
    background-color: #6f6f6f;
    width: 100px;
    height: 40px;
    color: white;
    border: none;
    box-shadow: 0 0 2px black;
    font-size: 16px;
    font-family: Tahoma,Arial,Helvetica,sans-serif;
    cursor: pointer;
    overflow: hidden;
}
.login_button:hover{
    background: #00a0e0;
}

#wrong_user {
    color: #f30643;
    font-size: 17px;
    padding: 35px 0 0 10px;
    display: none;
}

/* Set background for BODY */
body {
    width: 100%;
    height: 100%;

    background: #dee1df;  /*Old browsers */
    background: -moz-linear-gradient(top,  #dee1df 0%, #ffffff 100%);  /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dee1df), color-stop(100%,#ffffff));  /* Chrome,Safari4+*/
    background: -webkit-linear-gradient(top,  #dee1df 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #dee1df 0%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #dee1df 0%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #dee1df 0%,#ffffff 100%); /* W3C */
    background-repeat: no-repeat;
}

/* set witdth for container  */

#middle {
    position: relative;
    overflow: hidden;
    width: 100%;
    overflow: hidden;
}

#middle_content {
    position: relative;
    width: 980px;
    margin: 30px auto;

}
